package com.zwd.deep.entity.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;


/**
 * 接收登录参数
 * @author wanjunhong
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Validated
public class DoctorsLoginDto {
    @NotBlank(message = "工号不能为空")
    private String jobNumber;
    @NotBlank(message = "密码不能为空")
    private String password;
}
